package com.hxl.demo.mapper;

import com.hxl.demo.entity.LaborContract;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface LaborContractMapper {
    //获得所有内容加姓名模糊查询
    List<LaborContract> getAllLaborContract(Map<String, Object> map);
    //查询所有条数
    Integer getCount(String username);
    /**
     * @Description 修改劳动合同
     * @Date: 2020/4/1
    */
    int updateLabor(LaborContract laborContract);
}
